<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        html {
            font-size: 100px;
        }
        .div1 {
            width: 5rem;
            height: 5rem;
            background-color: #50f0f0;
        }
    </style>
</head>
<body>
    <div class="div1"></div>
    <script>
        window.onresize = function() {
            
        }
    </script>
</body>
</html>